#!/bin/sh

mkdir ../desktop-files-build 2>/dev/null

find . -type d -not -name CVS -not -name .svn -not -path "./po" -exec mkdir -p ../desktop-files-build/{} \;

find . -name "*.in" -not -name POTFILES.in -print | while read
do
    intltool-merge -d -u -c po/.intltool-merge-cache po "$REPLY" ../desktop-files-build/"${REPLY%%.in}"
true
done
